    <include file="App/Admin/View/Public/left.html"/>
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="{:U('Index/index')}">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">会员管理</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                <form action="{:U('Member/index')}" method="post">
                    <table class="search-tab">
                        <tr>
                            
                            <tr>   
                                    <th><i class="require-red">*</i>开始时间：</th>
                                    <td>
                            
                                    <div class="row"><div class="col-md-6">
                                                    <i class="fa fa-calendar"></i></span>
                                                    <input type="text" name="add_time" class="ui_timepicker" id="aaaaa1" placeholder="选择日期时间" value="{$list['add_time']|date='Y-m-d H:i:s',###}"  />
                                                </div></div></td>
                                  <script type="text/javascript">
                                    $(function () {
                                        var date1 = new Date();
                                        var dat = date1.toLocaleDateString()+" "+date1.getHours()+":"+date1.getMinutes()+":"+date1.getSeconds();
                                        $("#aaaaa2").val(dat);
                                        $("#aaaaa1").datetimepicker({
                                            //showOn: "button",
                                            //buttonImage: "./css/images/icon_calendar.gif",
                                            //buttonImageOnly: true, 
                                            showSecond: true,
                                            timeFormat: 'hh:mm:ss',
                                            stepHour: 1,
                                            stepMinute: 1,
                                            inputMask: true,
                                            stepSecond: 1,
                                           
                                        })
                                            $("#aaaaa2").datetimepicker({
                                            //showOn: "button",
                                            //buttonImage: "./css/images/icon_calendar.gif",
                                            //buttonImageOnly: true,
                                            showSecond: true,
                                            timeFormat: 'hh:mm:ss',
                                            stepHour: 1,
                                            stepMinute: 1,
                                            stepSecond: 1
                                        })
                                   
                                    })
                                </script>
                                    <th><i class="require-red">*</i>截止时间：</th>
                                    <td><div class="row"><div class="col-md-6">
                                                    <i class="fa fa-calendar"></i></span>
                                                    <input type="text" name="end_time" class="ui_timepicker" id="aaaaa2" placeholder="选择日期时间" value="{$list.end_time|date='Y-m-d H:i:s',###}" / >
                                                </div></div></td>
                                    <td><input class="btn btn-primary btn2" name="sub" value="报表导出-下载表格" type="button" onclick="download()"></td>
                                </tr>



                        </tr>
                    </table>
                </form>
				
            </div>
        </div>
     
    </div>
    <!--/main-->
</div>
</body>
</html>
<script>
$(".sub-menu").eq(1).show();
$(".sub-menu").eq(1).children("li").eq(5).addClass("on");
</script>
<script>
function download(){
    var add_time=$('#aaaaa1').val();
    var end_time=$('#aaaaa2').val();
    var url="{:U('Member/baobiaoExcel')}";
    window.location.href=url+"?add_time="+add_time+"&&end_time="+end_time;
}
</script>